package com.ruoyi.vim.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客服与分配对象关联对象 im_service_allocation_object
 *
 * @author wgp
 * @since 2022-12-14
 */
public class ImServiceAllocationObject extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 客服ID
     */
    @Excel(name = "客服ID")
    private String serviceId;

    /**
     * 分配对象ID
     */
    @Excel(name = "分配对象ID")
    private String allocationObjectId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setAllocationObjectId(String allocationObjectId) {
        this.allocationObjectId = allocationObjectId;
    }

    public String getAllocationObjectId() {
        return allocationObjectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("serviceId", getServiceId())
                .append("allocationObjectId", getAllocationObjectId())
                .append("remark", getRemark())
                .toString();
    }
}
